package com.ruoyi.dangerControl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检查标准对象 hd_inspection_standard
 *
 * @author lth
 * @date 2023-12-13
 */
public class HdInspectionStandard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 隐患编号 */
    @Excel(name = "隐患编号")
    private String code;

    /** 隐患名称 */
    @Excel(name = "隐患名称")
    private String name;

    /** 隐患等级id */
    @Excel(name = "隐患等级id")
    private String levelId;

    /** 隐患等级 */
    @Excel(name = "隐患等级")
    private String level;

    /** 隐患类别id */
    @Excel(name = "隐患类别id")
    private String typeId;

    /** 隐患类别 */
    @Excel(name = "隐患类别")
    private String type;

    /** 专业 */
    @Excel(name = "专业")
    private String speciality;

    /** 界定标准 */
    @Excel(name = "界定标准")
    private String definingStandards;

    /** 考核负责人金额 */
    @Excel(name = "考核负责人金额")
    private String amountHeader;

    /** 值班干部金额 */
    @Excel(name = "值班干部金额")
    private String amountDuty;

    /** 跟班干部金额 */
    @Excel(name = "跟班干部金额")
    private String amountAttendant;

    /** 班组长金额 */
    @Excel(name = "班组长金额")
    private String amountGroup;

    /** 安检员金额 */
    @Excel(name = "安检员金额")
    private String amountInspector;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createByName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateByName;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 排序 */
    @Excel(name = "排序")
    private Long sorting;

    /** 状态, 默认1(1:正常；2:冻结；98:关闭；99:删除)； */
    @Excel(name = "状态, 默认1(1:正常；2:冻结；98:关闭；99:删除)；")
    private Long status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setLevelId(String levelId)
    {
        this.levelId = levelId;
    }

    public String getLevelId()
    {
        return levelId;
    }
    public void setLevel(String level)
    {
        this.level = level;
    }

    public String getLevel()
    {
        return level;
    }
    public void setTypeId(String typeId)
    {
        this.typeId = typeId;
    }

    public String getTypeId()
    {
        return typeId;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setSpeciality(String speciality)
    {
        this.speciality = speciality;
    }

    public String getSpeciality()
    {
        return speciality;
    }
    public void setDefiningStandards(String definingStandards)
    {
        this.definingStandards = definingStandards;
    }

    public String getDefiningStandards()
    {
        return definingStandards;
    }
    public void setAmountHeader(String amountHeader)
    {
        this.amountHeader = amountHeader;
    }

    public String getAmountHeader()
    {
        return amountHeader;
    }
    public void setAmountDuty(String amountDuty)
    {
        this.amountDuty = amountDuty;
    }

    public String getAmountDuty()
    {
        return amountDuty;
    }
    public void setAmountAttendant(String amountAttendant)
    {
        this.amountAttendant = amountAttendant;
    }

    public String getAmountAttendant()
    {
        return amountAttendant;
    }
    public void setAmountGroup(String amountGroup)
    {
        this.amountGroup = amountGroup;
    }

    public String getAmountGroup()
    {
        return amountGroup;
    }
    public void setAmountInspector(String amountInspector)
    {
        this.amountInspector = amountInspector;
    }

    public String getAmountInspector()
    {
        return amountInspector;
    }
    public void setCreateByName(String createByName)
    {
        this.createByName = createByName;
    }

    public String getCreateByName()
    {
        return createByName;
    }
    public void setCreateAt(Date createAt)
    {
        this.createAt = createAt;
    }

    public Date getCreateAt()
    {
        return createAt;
    }
    public void setUpdateByName(String updateByName)
    {
        this.updateByName = updateByName;
    }

    public String getUpdateByName()
    {
        return updateByName;
    }
    public void setUpdateAt(Date updateAt)
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt()
    {
        return updateAt;
    }
    public void setSorting(Long sorting)
    {
        this.sorting = sorting;
    }

    public Long getSorting()
    {
        return sorting;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("levelId", getLevelId())
            .append("level", getLevel())
            .append("typeId", getTypeId())
            .append("type", getType())
            .append("speciality", getSpeciality())
            .append("definingStandards", getDefiningStandards())
            .append("amountHeader", getAmountHeader())
            .append("amountDuty", getAmountDuty())
            .append("amountAttendant", getAmountAttendant())
            .append("amountGroup", getAmountGroup())
            .append("amountInspector", getAmountInspector())
            .append("createBy", getCreateBy())
            .append("createByName", getCreateByName())
            .append("createAt", getCreateAt())
            .append("updateBy", getUpdateBy())
            .append("updateByName", getUpdateByName())
            .append("updateAt", getUpdateAt())
            .append("sorting", getSorting())
            .append("remark", getRemark())
            .append("status", getStatus())
            .toString();
    }
}
